package com.tiny.work.btrace.Counter;
/* BTrace Script Template */
import com.sun.btrace.annotations.*;

import static com.sun.btrace.BTraceUtils.*;
@BTrace
public class TraceParmter {
        @OnMethod(
                clazz="com.sample.test.Counter",
                method="add",
                location=@Location(Kind.RETURN)
        )
        public static void traceExecute(int num,@Return int result){
            println("====== ");
            println(strcat("parameter num: ",str(num)));
            println(strcat("return value:",str(result)));
        }


}
